package com.xb.loan.admin.dao.system;


import com.xb.loan.admin.bean.system.OssOperatorRole;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface OssOperatorRoleDao {
    
    List<OssOperatorRole> queryOperatorRoleByOperatorId(String OperatorId);
    
    List<OssOperatorRole> queryOperatorRoleByLoginName(Map<String, String> map);
    
    int insert(OssOperatorRole record);

    int updateByPrimaryKey(OssOperatorRole record);
    
    int deleteByPrimaryKey(String operatorId);
    
    int queryOperatorRoleCountByRoleId(String roleId);
}